import { Body, Controller, Post } from '@nestjs/common';
import { PageServiceService } from './page-service.service';

@Controller('lcdp/pageService')
export class PageServiceController {
  constructor(private readonly pageServiceService: PageServiceService) {}

  @Post('string2json')
  async string2json(@Body() params: string) {
    console.log(params);
    return this.pageServiceService.string2json(params);
  }
}
